package org.pt.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("works_tags") // 指定表名
public class WorksTags {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("works_id")
    private Integer workId;

    @TableField("tags_id")
    private Integer tagId;

}
